<div id="userlist">
<br/>
<table>
	<th>Student Number</th>
	<th>Last Name</th>
	<th>First Name</th>
	<th>Middle Name</th>
	<th>User Type</th>
	<th>Email</th>
	<th>Action</th>
<?php foreach( $users as $user ) : ?>
	<tr>
		<td><?php echo $user['stud_no'] ?></td>
		<td class="lastname"><?php echo $user['lastname'] ?></td>
		<td class="firstname"><?php echo $user['firstname'] ?></td>
		<td class="middle-initial"><?php echo $user['middlename'] ?></td>
		<td class="usertype"><?php echo $user['admin'] ?></td>
		<td class="email"><?php echo $user['email'] ?></td>
		<td class="action">(<a href="/portal/update/<?php echo $user['stud_no'] ?>">Edit</a>)(<a href="/portal/remove/<?php echo $user['stud_no'] ?>">Delete</a>)</td>
	</tr>
<?php endforeach;?>
</table>
<hr style="color:#e6af2b"/>
</div>
